package com.axxy.singleton;

/**
 * @author 一缕茜阳
 * @date 2021/7/28
 */
public class Store1 {

    private Store1() {
        System.out.println("Store1——利用私有构造器新建实例");
    }

    public static Store1 getInstance(){
        return new Store1();
    }
}
